
import request from '/@/utils/request';

export default {
	// 分页查询
	list(data: object) {
		return request({
			url: '/api/v1/smoke/upgrade/page',
			method: 'post',
			data,
		});
	},

	// 新增
	create(data: object) {
		return request({
			url: '/api/v1/smoke/upgrade',
			method: 'post',
			data,
		});
	},

	// 修改
	modify(data: object) {
		return request({
			url: '/api/v1/smoke/upgrade',
			method: 'put',
			data,
		});
	},

	// 删除
	remove(data: object) {
		return request({
			url: '/api/v1/smoke/upgrade',
			method: 'delete',
			data,
		});
	},
}
